<!DOCTYPE html>
<html>
<head>
	<title>商品类别</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link rel="stylesheet" href="__PUBLIC__/Admin/css/min.css" />
	<link rel="stylesheet" href="__PUBLIC__/Admin/content/style.css" />

	<!-- jQuery AND jQueryUI -->
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/content/main.js"></script>
	<style>
	#content .selector, #content .selector select, #content .selector span{
		width:80px !important;
	}
	</style>
</head>
<body>
<div id="content" class="white">
  <div class="bloc">
    <div class="title">商品类别</div>
    <div class="content">
      <table>
        <thead>
          <tr>
            <th>id</th>
            <th>类别名称</th>
            <th>上级类别</th>
            <th>备注</th>
            <th>创建时间</th>
            <th><input onclick="javascript:location.href='editUI'" type="button" value="添加"></th>
          </tr>
        </thead>
        <tbody>
		  <!--遍历容器List-->
          <volist name='list' id='vo'>
            <tr>
              <td>{$vo.id}</td>
              <td>{$vo.name}</td>
              <td>{$vo.p_name}</td>
              <td>{$vo.remark}</td>
              <td>{$vo.createtime}</td>
              <td>
				<input onclick="javascript:bw_editUI('{$vo.id}')" type="button" value="编辑">
			  </td>
            </tr>
          </volist>
        </tbody>
      </table>
      <div class="left submit">
       
      </div>
      <div class="pagination"> {$page} </div>
    </div>
  </div>
</div>
<script>
	function bw_editUI(id){
		location.href = "editUI?id="+id;
	}
	function bw_remove(id){
		if(confirm("删除id:"+id)){
			location.href = "removeOperation?id="+id;
		}
	}
</script>
</body>
</html>